package edu.java.homework.hw11.enums.solution.actors;

import edu.java.homework.hw11.enums.solution.dish.Dish;


public class Client extends Actor {

	public Client(String name, Dish dish) {
		super(name, dish);
	}

	@Override
	public void run() {
		// super.run();
		System.out.println(Thread.currentThread().getName() + " starts...");

		getDish().eatDish();
	}
}
